home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / samdu220.zip / IOSTATUS.H < prev    next >
Text File  |  1993-04-01  |  2KB  |  65 lines

  1. #ifndef __IOSTATUS_H__
  2. #define __IOSTATUS_H__
  3.  
  4. #define STATUS1_INIT                   0xFFFF
  5.  
  6. #define STATUS1_START                  0x0000
  7. #define STATUS1_BOOT_SECTOR            0x0001
  8. #define STATUS1_DIRECTORY              0x0002
  9. #define STATUS1_FAT                    0x0003
  10. #define STATUS1_SYSTEM_FILE            0x0004
  11. #define STATUS1_CYLINDER               0x0005
  12. #define STATUS1_HEAD                   0x0006
  13. #define STATUS1_SYSTEM                 0x0008
  14. #define STATUS1_END                    0x0009
  15.  
  16. #define STATUS1_ERROR                  0x000B
  17.  
  18. #define STATUS2_FILE                   0x0001
  19.  
  20. #define STATUS3_OPEN_FAIL              0x0001
  21. #define STATUS3_OPEN_FLAGS_BAD         0x0002
  22. #define STATUS3_OPEN_INPUT_BAD         0x0003
  23. #define STATUS3_OPEN_NOT_SUPPORTED     0x0004
  24. #define STATUS3_OPEN_FILE_IO_ERROR     0x0005
  25.  
  26. #define STATUS2_FILE_READ              0x0002
  27. #define STATUS2_FILE_WRITE             0x0003
  28.  
  29. #define STATUS2_WRITE                  0x0004
  30. #define STATUS2_READ                   0x0005
  31. #define STATUS2_FORMAT                 0x0006
  32. #define STATUS2_FORMATTING             0x0007
  33.  
  34. #define STATUS2_SYSTEM                 0x0008
  35.  
  36. #define STATUS2_SYSTEM_FILE_MISSING    0x0009
  37. #define STATUS2_SYSTEM_FILE_OPEN       0x000A
  38.  
  39. #define STATUS2_MEMORY                 0x000B
  40.  
  41. #define STATUS2_SYSTEM_FILE            0x000C
  42.  
  43. #define STATUS2_FAT                    0x000D
  44.  
  45. #define STATUS2_DIRECTORY              0x000E
  46.  
  47. #define STATUS2_BOOT_SECTOR            0x000F
  48.  
  49. #define STATUS2_DISK_SPACE             0x0010
  50.  
  51. #define STATUS2_HEAD                   0x0011
  52.  
  53. #define STATUS2_COMPARE                0x0012
  54.  
  55. #define STATUS2_DPT                    0x0013
  56.  
  57. #define STATUS2_SECTORS                0x0014
  58.  
  59. #define MAXSECTORSIZE 512
  60. #define MAXSECTORS     36
  61. #define MAXHEADS        2
  62. #define MAXCYLINDERS   80
  63.  
  64. #endif /* __IOSTATUS_H__ */
  65.